<?php
if(isset($partners) == TRUE && count($partners) > 0) :
?>
                                            <div id="partner">
<?php
    foreach($partners as $obj) :
?>
                                                <div><img src="<?php echo Url::site('assets/upload/banner/' . $obj->image) ?>" alt="" /></div>
<?php
    endforeach;
?>
                                            </div>
<script type="text/javascript">
    $(function() {
        $('#partner').jsCarousel({ autoscroll: true });
    });
</script>
<?php
endif;
?>
